package com.task.core.service;

import java.util.List;

import com.task.common.domain.info.KeyAndValue;
import com.task.common.domain.info.PlanInfo;
import com.task.core.dto.request.PlanRequestDTO;

/**
 * @author 迪迦.
 * @date 2024/11/4 17:28
 */
public interface PlanService {

  List<PlanInfo> getPlanByPage(PlanRequestDTO request);

  List<KeyAndValue> getPlanForOption(PlanRequestDTO request);

  void addPlan(PlanRequestDTO request);

  void modifyPlan(PlanRequestDTO request);

  void deletePlan(String planCode, Long userId);

  PlanInfo getPlanByCode(String planCode);

  List<PlanInfo> getAllPlan();

  PlanInfo getPlanDetailByCode(String planCode);
}
